package com.ruoyi.mng.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商户业务渠道关系对象 hz_mer_busi_cha_r
 * 
 * @author chenqiang
 * @date 2023-04-28
 */
public class HzMerBusiChaR extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** RId */
    private Long rId;

    /** 商户 */
    @Excel(name = "商户")
    private String merchantId;

    /** 业务 */
    @Excel(name = "业务")
    private Long busiId;

    /** 渠道 */
    @Excel(name = "渠道")
    private Long channelId;

    /** 状态 1-启用 2-暂停 */
    @Excel(name = "状态 1-启用 2-暂停")
    private Integer status;

    /** 通道权重 */
    private Integer weightz;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String extend_merchantName;
    private String extend_busiName;
    private String extend_channelName;

    public void setrId(Long rId) 
    {
        this.rId = rId;
    }

    public Long getrId() 
    {
        return rId;
    }
    public void setMerchantId(String merchantId) 
    {
        this.merchantId = merchantId;
    }

    public String getMerchantId() 
    {
        return merchantId;
    }
    public void setBusiId(Long busiId) 
    {
        this.busiId = busiId;
    }

    public Long getBusiId() 
    {
        return busiId;
    }
    public void setChannelId(Long channelId) 
    {
        this.channelId = channelId;
    }

    public Long getChannelId() 
    {
        return channelId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setWeightz(Integer weightz) 
    {
        this.weightz = weightz;
    }

    public Integer getWeightz() 
    {
        return weightz;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getExtend_merchantName() {
        return extend_merchantName;
    }

    public void setExtend_merchantName(String extend_merchantName) {
        this.extend_merchantName = extend_merchantName;
    }

    public String getExtend_busiName() {
        return extend_busiName;
    }

    public void setExtend_busiName(String extend_busiName) {
        this.extend_busiName = extend_busiName;
    }

    public String getExtend_channelName() {
        return extend_channelName;
    }

    public void setExtend_channelName(String extend_channelName) {
        this.extend_channelName = extend_channelName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rId", getrId())
            .append("merchantId", getMerchantId())
            .append("busiId", getBusiId())
            .append("channelId", getChannelId())
            .append("status", getStatus())
            .append("weightz", getWeightz())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
